Library wrapping mysqli async functionality