When a transaction migration starts, the old master must be unconditionally closed. This is the simplest way of resetting the connection state and it also helps close unused connections.