The height h in feet of water in a cylindrical storage container which has sprung a small leak is modeled by the formula h=0.0005t^2-0.14t+8 where t is the elasped time in seconds. Estimate to the nearest second the time it takes for the container to empty.