fix accept when close server socket