fix race condition in sigqueue