OpenLDAP API: why to use asynchronous functions?