Fixed problem with configurable task expiration time.