On turbulence caused by thermal instability