solution; Sending SIGQUIT to nginx will do a graceful shutdown, which can take up to several minutes until all the connections are closed and nginx will not accept any connections during this time. The other problem is that doing a service restart will end up in a timeout and the actual restart of the service will never happen because stopping the service has "failed"