Yes, he likes you but it sounds like he didn’t want to invest in something knowing he was going to be leaving soon. Men are more practical when it comes to these things, and often don’t want to get entangled when they are starting a new life somewhere else.
I wouldn’t abruptly stop talking to him but allow it to fizzle out naturally. Is he going back home, or is this a new adventure for him? If he’s going back home then the contact will probably ebb quicker as he will be back reconnecting with family, and friends, so that’s where his head will be. If its a new for him he will probably stay in contact longer if he has no one to talk with but eventually as he settles in his time will focused on other things and contact will slowly taper off, and possibly end all together at some point.