temporary ports: do not release file lock twice 

Also change unlock failure logging to warn level.