Fix database DDL script
Set read/connect timeout in TodoRestClient

If no timeout is set, the URLConnection waits forever if the server
doesn't respond. This leads to hanging threads.