Runs the migrations (unless migrate is false) and starts polling.
migrate
false
A function that stops polling, waits for the events being published, releases the claims and closes the pool that Hermes polls with
Runs the migrations (unless
migrateisfalse) and starts polling.