Issue #421 - maxSleepTimeMs changed to long