Call connection callback from connectionStateChange instead of after a delay