bugfix: if receive NULL packet, set err=NIO_TIMEOUT
bugfix: test_nio send_loop reinitialize pkt each loop