How to terminate workflow

below exception message is displaying

so my question is their any way to hide this msgbox and close directly…