Kill running process for timeout execution

The child process for running `jq` query wasn’t killed for timeout execution, taking up resource even if the server has responded.
Merge branch 'better_timeout'