on interface free, remove the main_dev user if still present