fix breakage in synccall due to incorrect signal restoration in sigqueue