Onesignal user id need soo much time

onesignal user id first return -1. after 10-12 second it return the user id. how can I overcome this issue, user will not wait 10-12 sec for any reason, what can I do now?