limit db connection