closed server socket after each request handled