added basic support for non-blocking results