Added a DEBUG log level and more timeout catches