use #call_connection_state_callback