IDE-994

Modified the LiferayTomcatUntil class to change the input and output
stream closed after using it in saveConfigInfoFromCache and
getConfigInfoFromCache method.