Merge pull request #29 in BD/bd-test from bugfix/BD-2150-if-time-timeout-throw-exception to develop
* commit '4dbeb3f7798a3be7f9019e5709cdafbb26649b40':
delete downloaded file when exception
try to delete upload file when exception
raise request timeout if stoptime <= time. count failure as timeout if any timeout caused.