make a copy of "transport" in handleEpollEvent to ensure close notification can occur outside of shutdown() too