create command to wrapper shell commands with a timeout