use config default to hash and avoid using try
set payload as required
set payload as required on spec
remove commented code
pass timeout to socket call