This fixes a bug in finishConnect such that it would return true even if the socket had not yet connected successfully.