improved: try to determine working process by PID in .lock-file