fixed how actors are shutdown