Fix Socket Exception Bug

Hopefully fixed permanently..