Moved placement of clearInterval in gameserver