std atomic wait timeout