Added workaround to the wrong handling of timouts on blocking sockets
Authored by: artyom-beilis 2011-08-26
Parent: [r1929]
Child: [r1931]