Gracefully handle exceptions during the setting of limits.