new callback for profile (close_stream)