Fix for #79 - Rollback in case of connection closed