Fixes

Now terminates correctly when using ctrl-c.
Non-empty queues were preventing termination.
Also removes Pyro4 warnings.