Clear hashmaps for every new query and remove synchronized calls