OS-2656 ipf leaves its locks behind