Reorder the callback and stream resurrection so the stream object can be accessed.