connected decorator for TaskClient