Fixes an issue where if there's any promise already resolved or rejected at the time of join, joined promise resolves instantly without waiting for all other promises to resolve