Remaining time estimation for threaded tasks