Fix close of server by closing sockets connections