updated Actor.loop() behavior