session: fix send queue bug