Add support of asynchronous mode.