fixes socket gem issues

fixes despawning