Have REST test call server as daemon thread