server shutsdown on shutdown signal