fix state machine deadlock when peer is killed while transitioning to slave