separate method, to use as thread.
thread implementation (not working as expected)
log updated
added support to continue from broken execution