added tracing to spot freezed-thread error