revert change to background task for GAE.
Revert "revert change to background task for GAE."

This reverts commit b11e000f81214cc0516ccb27373b6a8b7427637e.