free chains after destroying rtmp session