Removing getHistory call, it is a synchronous call and is taking 25+ seconds to complete.