Initialization code now waits for the actors to become live (instead of a hardcoded sleep time)