make connection non-blocking.