Merge pull request #27 from basz/issues/18-sleep-while-jobless

Issues/18 sleep while jobless