Small delay before exiting to allow the response to be sent.