handle socket exception on connect