Revert "CP-6226: Use the polling event loop"

This reverts commit 6519d24325ddae5fc285bf2c2724d854b25a07fa.