Multithreaded IO subsystem