Convert the AgentManager.bind() method into a Celery Task.