Fixed time out issue. This was occuring because the metadata retrieval button which retrieves FGDC metadata was calling "view entity" service which is deprecated. This was changed to use "search" method to retrieve the FGDC metadata file.