Server shutdown fixed

Signed-off-by: Alexivan <Alexivan_91@hotmail.com>
Merge branch 'master' of https://github.com/Malow/NotDeadYet