I think here should add an else block
 ```
else
     context.stop self
 ``` 
to stop the supervisor actor.seems when the ```shutdown```is true,seems the supervisor actor is not stopped anyway.