With clock ticking, a charter school tries to turn itself around