Fix response frame generation
Handle delayed response