FINALLY seems to avoid race condition