closing windows kills pipe