[config] added configurations for agent
[fix] Agent: making the connection blocking