Remove log and pid file after shutdown