Added the possibility to set the connection timeout

Added the possibility to set the connection timeout.