Fix error bug for timeout not returning statuscode.
Fix error bug for timeout not returning statuscode.

byu-oit/ios-byuSuite,byu-oit-appdev/ios-byuSuite,byu-oit-appdev/ios-byuSuite,byu-oit/ios-byuSuite