add support for async option

Signed-off-by: Gowrishankar Rajaiyan <gsr@redhat.com>