removing redis_connect_callback function