5407302fdc
This reverts commit d1df3359b3c9fd968e8e35c51dc36b0b90ffa216. The lockfile management code attempts to do IO on a closed file and throws errors. Change-Id: Ied58185758fd7c8c822624e169216441341a75d0