Added some sort of TLS

Some problem could arise when hundreds threads trying to access
stdin simultaneously. I've tried to use `threading.local` with no
actual success. So, all requests are recorded to function
local variable. After firing whole set, record into 'result list'.

After threads stopped, merge list into one stdin.

Hope we won't need to guard list appending.