Threadified listening for messages