Return an empty set if an SQLException happens