Converting timeout to seconds