Change call_possible_function to not return a promise