Fixed sendStreamEnd