Fixed server dying upon recieving "stop" command