optizemed multiplexing handle
add select write descriptor
test standard input and output failure
fix bug close client close error