Improve task error handling (AggregateExceptions), fix reconnection issues.