always delete pid file if the process is not running