setClosed
Mark this stream manager as having initiated a terminal task (i.e. CloseStreamTask or FailStreamTask).
Return
true if this stream manager was not already terminating; false if another thread has already invoked setClosed on this stream manager