removing do_connect from every sample code