block connect --> nonblock connect