Make the PubSub Listener its own thread