Remove pidfile when shutting down, fixes #1470
oops