Added connection timeout param; removed logging.
Suppress a few warnings.
Commented out logging.