timeout check and better memory gc

Notice, the server isn't backward compatible, but client is.
bump version to 0.1.0