Add retry parameter for like_post function, and sleep the like_post function for some seconds to avoid timeout