Force close connection after operation

Force close connection after completing task& This is useful when erlsqlmigrate embedded into other long running application.