Your thought sounds good. But if you have another opportunity in hand why dont you simply speak to your manager and ask for a NOC.
Well if they dont agree then you can go ahead with what you have planned.