anonymous wrapper to push request out of thread