Database connecting problem: Too many connections