send state-dying to AMD when __before_loop() returns -1