I have a bash loop that looks like this:

```
something(){
    echo "something"
}

while true; do
    something
    sleep 10s
done | otherCommand

```

When the loop is in the sleep state, I want to be able to be able to run a function from the terminal that will skip the sleep step and go on to the next iteration of the loop.

For example, if the script has been sleeping for 5 seconds, I want the command to stop the script from sleeping, go on to the next iteration of the loop, run `something`, and continue sleeping again.