Added function to deal with deadlock in tests

Added new method used in fake threads during test. Method catch deadlock
and retry operation in FakeDeletionThread. Removed skipping of
problematic test.

Change-Id: I134cd92f2f9dcf8f1e954ba5857a827ef1fec342
Closes-Bug: #1308115
Merge "Added function to deal with deadlock in tests"