Add transport timeout configuration parameter

This could be the wrong way to do this. Your feedback is welcome.