more logging, max time to wait on error