Properly close sockets in FakeHost.