shutdown messages via separate Redis connections, fix Ruby 2 error

Fixes #261.