Since we change all the request to blocking signal, we need to consume all the sync func before stop the server.