Cleanups in request-callback.