Fix for CONC-247: merge 8b3695271c (error check for timeout on sockets=
Fix for CONC-247: merge 8b3695271c (error check for timeout on sockets=

ottok/mariadb-connector-c,MariaDB/mariadb-connector-c,ottok/mariadb-connector-c,MariaDB/mariadb-connector-c,ottok/mariadb-connector-c,MariaDB/mariadb-connector-c