It seems "stop" event is not supported anymore in version 5.4. (could not find anything about this change in latest documentation).