fix kindlegen process lock