Enhancement of superconductivity close to a Mott transition