Fixed server.restart function called twice