add an option to let the user choose the right time to start connection
Sometimes we don't want to start connection when the IDL is created,
because in some cases our resources may not be ready. so give users a
choice when to connect is better.