add dedicated mutex for select based sql stuff