=rem #13923 Fixes hanging ActorSystem termination on failed RemoteActorRef initialization (#2)

* added new test case (checking if no threads left after a failed actor
  system initialization)