Refactor
Stop akka agents on shutdown