Avoid double callbacks when in async mode