A failsafe for the Flask reloader