remove pid file when daemon stops