If you have already finished your contract and you or your current employer intends not to renew your contract I believe that he can give you an NOC.

You can only switch after obtaining an NOC.