handle akka exit