handle case where a shutdown is triggered before any frames have been sent