in this case you are lucky. But sometimes the employer will not give you NOC and let you move on to another company with better job out of spite.