Fixing function name in error message
Removing single point of contention in task spawn benchmarks
Making error_code lightweight to avoid creation of exception object, if not absolutely needed