increase port connection timeout from 1 to 5 seconds