server socket close and new