fix bug where stop command would restart server