try to log what happened in the worker after a timeout.

fix #518
Merge pull request #768 from benoitc/feature/abort

try to log what happened in the worker after a timeout.