workaround ios6 simulator bug where H.264 writer would get stuck forever in the secondary thread