added keep-alive lib