Refactored the MysqlWriter to extend the AsyncWriter base class