Wrap exceptions that occur while running external process

This should help identify problem with timeouts.

Change-Id: I663b1ca3fe9a74ed0869fefdb16583951e3db6a5
Merge "Wrap exceptions that occur while running external process"