Nivekk/KOS — pull request #250 by a1270 (2013-11-16 06:10:16+00:00)
Title: Fix for #249, if wait time is zero or less set state to done.

This should fix #249, not entirely sure if github properly extracts issue numbs from the title.