Buses have to follow their schedule. If you do not have a proper visa in your passport, if you lose your passport on the way, if you spend too much time in the restroom, if you don't have local currency to pay for your visa on arrival, if you get detained by customs or if anything else happens that causes a delay, you can expect the bus to be gone when you get through immigration. Don't waste any time. The bus will leave you behind. They will take your luggage and keep it at the final destination until you come to pick it up. Usually, you can continue your journey from the border with the next bus. Please call the bus company using the number on your ticket.