Handling lengthy task event