Fixed (kind-of) not working no-sync db based lock