Parse delay to int