Lazy patch for supporting select command and be more compatible with jedis