Change timeout to float