added some options for async client