send close signal to actors, wait in main