The callback will be used in the new aiogreen executor to support trollius coroutines. The change includes an unit test. Change-Id: I556b112371bec2ec29cea4dc254bb3f9c6d2c07a