use akka schedule instead of infinite loop with a sleep