See comments in the code on pull request #406
TCP connection attempts by default retry a couple times with a delay inbetween. This means they can take a couple seconds to complete. As such, we should ensure our TCP connections aren't happening via blocking calls on the UI thread.