Avoid possible lockup