add graceful shutdown via SIGUSR1