Task management for remote services