Workaround for thread-safety issue

Introduced an 100ms wait after setting a new current_figure in oder to avoid
the present race-condition.