Extract common setup
Handle failing message handlers