Made sure actor clients cannot connect after server has been shutdown
Additional check to 78dac8b872279ce511d91ca061a903acb0eeabfa