flush on timeout