All of the acquire() and release() calls to status.pipe_lock are now within "try ... finally" blocks.
This ensures that the lock will be released at the end.
Authored by: bugman 2011-08-08
Parent: [r14245]
Child: [r14247]