made fireteensy shutdown more gracefully