Make sure to flush the vt term

@s0undt3ch isalive does not seem to wait for the recv buffer to
empy out, so we need to manually flush it here. Let me know if you
know of a better way to do this