set initial value of connecting to be false