Add shutdown handler method to RequestHandler class