Decoupled logic to a seperate MainServerTick and added a crash report if the server shutsdown with a exception