get rid of server.close