test for pid file cleanup on server shutdown