Call stopListening on behaviors onClose

fixes #1160