Cleanup pidfile on graceful exit with ObjectSpace::define_finalizer
Resolves #416, Alternate for #422.