Increased timeouts, added some debug lines, fixed network issues