Beijing is not known for on-time performance. A four hour stay could easily get very short. Do you understand that if you do not present yourself in time for your flight to Ulan Bator this entire ticket (and return) will be cancelled (assuming you are on different tickets)?