added fetchtype
update disconnect
added DB::close() to disconnect all connections