Retries failover timeout

hey @dawid-sklodowski 

There's a PR to merge this into upstream moped but until we get an answer from them I'd like to get this fix into the branch we're using locally in Chopin

Not planning on releasing this live before Monday, btw

So before every read we will do select system call which will check whether socket is ready for read/write (with timeout).
Looks good.