support for API1.1

change to non-blocking mode.