CLOUDIFY-1349 improve logging by using thread id
CLOUDIFY-1349-fix timeout exception handling