makes stream alive and closes #2