I am trying to set timeout like this in shell script:
sleep 60 lsof timeout 60 | wc -l echo "successfull" else echo "not successfull"