When a auto-MR is closed, ucascade is deleting the source branch.
This is a problem if a user is closing the auto-MR by mistake and then tries to re-open it.
We should check the status of the closed MR and delete the source-branch only if the MR was successfully merged.