Prevent failWithError: assertion failure

Don't throw an assertion exception in the event of race condition on failWithError:.