fix dead loop in app_handler

In app_handler, if response gets EAGAIN or STATUS_SUSPEND, PICOEV_WRITE event will be sent to main loop, but switch to hub code missing.... thus a dead looping cost 100% CPU on sendfile operations.