Fixed LP:1098833; implemented pid lock.