increase connection timeout, add debug message