Terminate the goroutine immediately when an expectation fails.