Removed sendFrame and implemented asyncSendFrame