Accept {require_connect, true} option to return {ok, Pid} only after connection is established