improve debug output
readding some debug output to hunt down the timeout issue