Set failure delay during configure

The program will sleep before delivering the result if it was
unsuccessful. It should be possible to set this delay when configuring
the build. Add an option to the configure script that allows the user to
set the delay.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>