Violating the rule where you're holding the stream's lock and writing to the frame writer.