remove pid file after shutdown attempt.