Revert "Added back logic to recreate websocket when closed"

This reverts commit 309a8e9e0b8520654e49a171ceaa001f4a5c1d84.
Revert "Removed unneeded reconnecting socket library"

This reverts commit 3823ec450c660b246bdc06480344c2258e1e3d0e.