add running time check
Merge pull request #183 from valodzka/master

Added process running time check