make sure connections are closed before restart
use try with ressources instead of rolling our own
names exception variables by convention
updates release jar