packer/rpc: fix data race by acquiring wrong locks in MuxConn