fext - corrected port closing and interrupting