fix: unix: race condition in unix_release()