One ship is 20 miles due North of another ship, and is sailing South at the rate of 10 miles per hour. The second ship sails West at the rate of 20 miles per hour. For how long will the ships continue to approach each other?