Ensure user's client and server component are both in the same event loop. Probably closes #893