added close-reason to callbacks