Don't hang forever on invalid secret