Make debug messages more informative

https://github.com/fs/codeclimate_ci/issues/18
It's better to move `retry_counter` in to `wait_and_refresh`