Servlet Container - skipping frames when writing