flush now handles interupts