Added try /catch in activate stream