Fix game socket closing