Listen to close or finish fs stream events

Resolves #666