added handshake timeout in config file