rtmp: Fix the handling of RTMPT session timeout
rtmp: Add comments