Add a timeout to requests made to the bridge

This pull request is related to Issue #26: Add a timeout to requests made to the bridge.