Fixed a segfault when after a remote client terminates.