Added connection time-out.