Added CLA parsing for pika connection info and fixed exception handling bug