Adapt code to changes on HBCore library | Remove empty HBCore daos
Catch every Exception when trying to close a session on finally clause