added background tasks for regular ping/task retrieve