allocated static buffer for read_nonblock/write_nonblock