Fixes #6780 - Remove elasticsearch port on uninstall