Allow for notify handler to run outside of celery.

This is needed for debugging purposes.