tell server to close socket