Fixed use of Future::get on failed Socket::connect future.

Minor bug fix after checking that a future had failed we still called
'get()' on it which causes an abort.