retry acquiring/releasing a dramaqueen lock

A NAS is considered awake once it replies to pings, but that’s done by
the linux kernel earlier than the init system can start up dramaqueen.
Hence, we need to retry in order to reliable get the lock without adding
artificial delays.