ping-database: Make timeout optional
I am using the MAX_TIMEOUT as the default here because this is what ping-device does. However, in Release_1.17 no timeout for both ping-device and ping-database would mean we only attempted the thing once and did not retry so this isn't quite restoring the previous behaviour.
Fixes #19 (closed).