fix keepalive npe on close / timeout
This release will be 0.9.0