pidfile support for keeping single instance running