With lock timeout

Formatting.

    } else if (...
    ...
    } else {