Local check data livetime

I just made a test.
This works if the check exits before the defined time, but if the check is running longer than the defined time, check_mk kill the check, uses the last known value and restarts it.

#!/bin/bash
sleep 6000 # this gets added after the first successful runs.
echo "0 testservice - Everything fine"