stop_server function

Stop the webhook server.