On connection event.