added admin setting to configure query timeout