Throwing exception in LudoDBMysql on invalid connection