replace PID check with pgrep
Merge pull request #149 from geoadmin/dev_ltclm_enable_multithreading

Dev ltclm improve detection of running process ids