pass true to make the request synchronous and imporve logging