fix issue with connection trace in provider test
fix issue with terminate doing end time in backend which it should not do