Adding stop and erase to allow graceful shutdown