Remote disconnects weren't properly handled on the remote side