The use of the server state is not transactional across multiple uses of the function. This means that any assertions on the target state can fail if the monitor updates the state between target selection and the assertion.