Attempt to process all remaining tasks in the queue during lost connection.