Stop serverdemo if the player timeout

So we'll be sure that the file is closed. And I hope that will fix my
server crashes