peer: cancel async stuff when state is changed
peer: cancel async stuff when state is changed

Otherwise we could get one same race conditions multiple callbacks
competing with each other.

ibazzi/opennhrp,ibazzi/opennhrp,ibazzi/opennhrp