Improved stability of receiver
Cleanup
attempt to reconnect if socket is closed
minor cleanup
controller will repeatedly attempt to reconnect if connection is lost