workaround for jar file lock