optimize outgoing/incoming callback sequences.