Avoid race condition when disabling Xtext nature