stdinListener should not be daemon, prevents messing up the UNIX terminal when exiting from main thread, which would interrupt raw_input().