Starting to work on sync_functions.cc
Fixed an issue with the returns in the async function template