Correcting indentation and adding additional output while waiting for the stop command to complete to indicate activity