check if process is running, don't just rely on pid file