remove unused function
remove the reset option

If you want to reset, call xivo-init-db --drop --init
put call to close in a finally