only yield on execute block when the error is invalid_session_exception