better handling of pa-close-stream