use new onClose event handler in observ-fs