fix in delay calculations, delay raised to 1000 miliseconds

Signed-off-by: Michal Bínovský <michalbinovsky@outlook.com>