Refactor timeouts a little bit to fix a API mismatch in BlockingConnection
Refactor timeouts a little bit to fix a API mismatch in BlockingConnection

Fix issue #176 while cleaning up the code enough to be able to add better unit tests for the timeout functionality in BlockingConnection

pika/pika,shinji-s/pika,Tarsbot/pika,vitaly-krugl/pika,hugoxia/pika,reddec/pika,vrtsystems/pika,Zephor5/pika,knowsis/pika,skftn/pika,renshawbay/pika-python3,fkarb/pika-python3,zixiliuyue/pika,benjamin9999/pika,jstnlef/pika