Logging of retries in theano_test.py