Removed a bunch of unwanted console logs.
Changed how closing the socket works. Made it a lot more aggressive.