Move task body from utils.go to client.go