Make sure delay won't exceed INTERVAL

Caps delay to INTERVAL and emits warning if it exceeds
Merge pull request #2 from cmouse/patch-1

Make sure delay won't exceed INTERVAL