Fixes #419
Another go at fixing resque workers...