[desktop and beeswax] Avoid race on Template.render
[desktop and beeswax] Avoid race on Template.render

This hopefully solves the sporatic test failures we're getting
with beeswax.tests's test_parallel_queries.

jounex/hue,vmax-feihu/hue,yongshengwang/hue,fangxingli/hue,nvoron23/hue,jayceyxc/hue,lumig242/Hue-Integration-with-CDAP,hdinsight/hue,mapr/hue,erickt/hue,rahul67/hue,jjmleiro/hue,Peddle/hue,kawamon/hue,lumig242/Hue-Integration-with-CDAP,todaychi/hue,nvoron23/hue,dulems/hue,kawamon/hue,rahul67/hue,jounex/hue,cloudera/hue,abhishek-ch/hue,fangxingli/hue,hdinsight/hue,ahmed-mahran/hue,pratikmallya/hue,vitan/hue,vmax-feihu/hue,cloudera/hue,pratikmallya/hue,sanjeevtripurari/hue,xq262144/hue,xiangel/hue,x303597316/hue,yoer/hue,abhishek-ch/hue,jjmleiro/hue,rahul67/hue,xq262144/hue,jounex/hue,kawamon/hue,GitHublong/hue,erickt/hue,jounex/hue,lumig242/Hue-Integration-with-CDAP,azureplus/hue,ChenJunor/hue,rahul67/hue,ahmed-mahran/hue,jayceyxc/hue,jjmleiro/hue,MobinRanjbar/hue,cloudera/hue,cloudera/hue,yongshengwang/hue,yoer/hue,cloudera/hue,yoer/hue,xiangel/hue,erickt/hue,sanjeevtripurari/hue,hdinsight/hue,epssy/hue,ahmed-mahran/hue,yongshengwang/hue,xq262144/hue,cloudera/hue,rahul67/hue,x303597316/hue,fangxingli/hue,x303597316/hue,lumig242/Hue-Integration-with-CDAP,javachengwc/hue,cloudera/hue,sanjeevtripurari/hue,kawamon/hue,ChenJunor/hue,nvoron23/hue,GitHublong/hue,xiangel/hue,nvoron23/hue,GitHublong/hue,GitHublong/hue,vitan/hue,javachengwc/hue,jayceyxc/hue,abhishek-ch/hue,fangxingli/hue,jayceyxc/hue,fangxingli/hue,pratikmallya/hue,Peddle/hue,dulems/hue,kawamon/hue,javachengwc/hue,x303597316/hue,hdinsight/hue,abhishek-ch/hue,cloudera/hue,azureplus/hue,Peddle/hue,Peddle/hue,Peddle/hue,Peddle/hue,epssy/hue,fangxingli/hue,jjmleiro/hue,dulems/hue,azureplus/hue,vitan/hue,lumig242/Hue-Integration-with-CDAP,mapr/hue,cloudera/hue,MobinRanjbar/hue,kawamon/hue,lumig242/Hue-Integration-with-CDAP,ahmed-mahran/hue,jjmleiro/hue,pratikmallya/hue,rahul67/hue,ChenJunor/hue,lumig242/Hue-Integration-with-CDAP,MobinRanjbar/hue,kawamon/hue,jjmleiro/hue,nvoron23/hue,GitHublong/hue,ahmed-mahran/hue,lumig242/Hue-Integration-with-CDAP,todaychi/hue,pratikmallya/hue,abhishek-ch/hue,yoer/hue,GitHublong/hue,vmax-feihu/hue,xq262144/hue,cloudera/hue,Peddle/hue,cloudera/hue,todaychi/hue,cloudera/hue,abhishek-ch/hue,rahul67/hue,jayceyxc/hue,dulems/hue,erickt/hue,erickt/hue,MobinRanjbar/hue,GitHublong/hue,yoer/hue,yoer/hue,kawamon/hue,vmax-feihu/hue,epssy/hue,vitan/hue,todaychi/hue,jjmleiro/hue,kawamon/hue,nvoron23/hue,azureplus/hue,kawamon/hue,todaychi/hue,vitan/hue,Peddle/hue,jayceyxc/hue,epssy/hue,mapr/hue,ChenJunor/hue,ChenJunor/hue,nvoron23/hue,erickt/hue,epssy/hue,abhishek-ch/hue,pratikmallya/hue,azureplus/hue,javachengwc/hue,ahmed-mahran/hue,ahmed-mahran/hue,jounex/hue,hdinsight/hue,jounex/hue,kawamon/hue,epssy/hue,kawamon/hue,hdinsight/hue,javachengwc/hue,sanjeevtripurari/hue,lumig242/Hue-Integration-with-CDAP,nvoron23/hue,dulems/hue,GitHublong/hue,yongshengwang/hue,jjmleiro/hue,erickt/hue,rahul67/hue,todaychi/hue,x303597316/hue,dulems/hue,epssy/hue,yongshengwang/hue,mapr/hue,jayceyxc/hue,hdinsight/hue,abhishek-ch/hue,cloudera/hue,jounex/hue,Peddle/hue,yongshengwang/hue,cloudera/hue,xq262144/hue,pratikmallya/hue,jounex/hue,MobinRanjbar/hue,xq262144/hue,vitan/hue,dulems/hue,vitan/hue,yongshengwang/hue,vmax-feihu/hue,azureplus/hue,ChenJunor/hue,cloudera/hue,kawamon/hue,cloudera/hue,x303597316/hue,xiangel/hue,xiangel/hue,javachengwc/hue,dulems/hue,yoer/hue,xq262144/hue,cloudera/hue,mapr/hue,kawamon/hue,vmax-feihu/hue,kawamon/hue,todaychi/hue,sanjeevtripurari/hue,ChenJunor/hue,jayceyxc/hue,sanjeevtripurari/hue,jjmleiro/hue,hdinsight/hue,sanjeevtripurari/hue,erickt/hue,cloudera/hue,todaychi/hue,kawamon/hue,fangxingli/hue,jayceyxc/hue,kawamon/hue,pratikmallya/hue,xq262144/hue,javachengwc/hue,azureplus/hue,kawamon/hue,mapr/hue,javachengwc/hue,mapr/hue,yoer/hue,epssy/hue,vitan/hue,MobinRanjbar/hue,MobinRanjbar/hue,xiangel/hue,x303597316/hue,vmax-feihu/hue,xq262144/hue,ChenJunor/hue,sanjeevtripurari/hue,ahmed-mahran/hue,MobinRanjbar/hue,x303597316/hue,vmax-feihu/hue,xiangel/hue,yongshengwang/hue,azureplus/hue,xiangel/hue,fangxingli/hue,todaychi/hue