changed pom for apklib and added locking exception fix