service script is now able to detect obsolete pid-files