Pages hang when there are http 404 on images

Pages hang when there are http 404 on images

Hello,

jQm 1.4.5.  If I have pages with images that are not available, I return a http 404's.  When I then view the page it shows correctly, but if I then refresh the page it seems to hang.  When not using jQm the pages refresh normally.  Any ideas on what I could check?

sending the not found code:
..
if (!response.isCommitted()) {
  response.reset();
}
response.sendError(HttpServletResponse.SC_NOT_FOUND, resoursePath);
return;
..

Cheers Greg