Hasty fix for async problems when deployed as servlet.
Hasty fix for async problems when deployed as servlet.

gispro/OceanViewer2,gispro/OceanViewer2,boundlessgeo/GeoExplorer,boundlessgeo/GeoExplorer,bartbaas/GeoAtlas,bartbaas/GeoAtlas,gispro/OceanViewer2,gispro/OceanViewer2,bartbaas/GeoAtlas,boundlessgeo/GeoExplorer