[FOLD] Fix onPeerClose called from peerClosed