[BZ-1039579] avoid to start a Timer with negative duration
(cherry picked from commit 9150b4ee98c5f3e8ad21e5fe3ecfbd8e8703101a)