Closing server connection.