#73 Avoid race condition with marker callback error handling