Catch exception in open/close.
Update factory policy.