Azkaban probably could do better. This script is not for that purpose though. It is to clean up all the orphan processes that accumulated over time, while Azkaban itself is not running.