Slowed down the step to 2 seconds. Moved socket and connection timeouts to constants.