Temporary patch for hot deployed web apps which are not starting
correctly.