wait for actorsystem termination