Risk sharing role of foreign aid in developing countries