Add a safe redis reboot task

Will only reboot redis if there are not logs in the log queue
Merge pull request #69 from timmow/safe-redis-reboot

Add a safe redis reboot task