Fixed stopping the server