Added a line for close the sever when the game is finished

Signed-off-by: Thibaut Quentin <thibaut.quentin@laposte.net>