Added clear_command_queue() in abort procedure