Error when connecting to database : Too many connections