Update APISession.java - public void Terminate() 

Splitted code in Try-catch block to ensure execution even if one of the previous commands trows an exception.
Extended debug logging.
Resolved the following issues:
JENKINS-21587: memory leak in Plugin 1.22 -orphaned Logger Threads (accepted patch from Matthias Rump - thank you!)
JENKINS-21479: Poll SCM trigger no functioning during the first execution
JENKINS-21260: PTC integrity plugin: version 1.19 instantly triggers new build though corresponding files in repository have not been changed!
[maven-release-plugin] prepare release integrity-plugin-1.23
[maven-release-plugin] prepare for next development iteration
Shutdown derby database in DeleteNonMembers / CheckpointAction
Don't log error in case of successful derby shutdown
Merge branch 'master' of https://github.com/cbue/integrity-plugin