Added try/catch to make sure that invalid parameters would not kill worker.
Fixes for: EUCA-9411