Attempt to mitigate possible cause for Bug#3823 by replacing use of F_SE...

...TLKW

when updating scoreboard entries to F_SETLK, and handling interruptions.
This should reduce any (potentially long) blocking behaviors.