Register a weak handler in onCreate(), set "Connection: close" (see the comments close to the call)