Added try-catch in deferAgregator