Added more calls de flock().