Refs #5719 - wait for the cancel event being processed

For better feedback for the user that something happened.
Fixes #6193 - make sure we increase the AR db pool soon enough

With lazy loading of the world, we tried to increase the pool
(and reconnect the pool) while some other parts already used that,
causing db seed to fail
Merge pull request #70 from iNecas/issue/6193

Fixes #6193 - make sure we increase the AR db pool soon enough
Merge pull request #69 from iNecas/issue/5719

Refs #5719 - wait for the cancel event being processed