Changed the agent disconnect timeout to 5 seconds
Pretty print log message arguments