Trying to fix threads blocking by raw_input.