Foreign students warned not to overstay visas