The president made the announcement on social media platform X saying he wants to rather focus on his duties during the final months of his term