Adding call to Model.closeConnection() at System on close