c++11: switched to async

Signed-off-by: Samuel Casa <samuelcasa9@gmail.com>