Add support for bgsend and bgread