Revert "Add support of asynchronous mode."

This reverts commit a81d9b52b3bce1ef0bade5614718e6795fbfe87a.