Notified thread resumes task execution after huge delay