Make sure IDeploying flag is never left over, even if deploy action fail...

...s (OMS-206)