Bug 563372 - Improve tests to capture why a framework does not stop.

Add a new method that captures a thread dump when the stop operation
has a timeout.

Change-Id: I938902904c1f972ac65a8d85db19b6e57a7ba580
17 files changed