When using an end gateway in the End dimension that teleports you very far away (probably any unloaded chunk), the server no longer recognises you as an entity (selector @e[name=<player name> found nothing) and you cannot use elytra until you reconnect to the server. Tested in overworld air superflat and this did not happen (so possibly this could happen in the Nether or the Overworld as well if the server has to work harder to load the chunk, I haven't tested this).
Have you tested this with simply /tp-ing? this might just be a bug regarding unloaded chunks.