Detect if the system clock moved backwards and then use the last detected time to calculate the queue polling timeout
Merge pull request #7 from gilt/bugfix/correct_clock_backwards

Detect if the system clock moved backwards for polling queue