Instead of failing with an error if another operation is in progress, which is impossible to know as a user, chain them using the primises API.