Fixes error when trying to pipe several events at the same time.