Added automatic reconnection logic to blockchain.info websocket