bug fix: sql-like and socket.error