Adds timeout option for raw query