Fix to allow waiting on a connection indefinitely.

Not sure if this was limited for a reason, but users with slow connections might appreciate this change. Its the only way I could get this working for me.