Example of singleton pattern for MySQLi connection