Added keep-alive flag and disabled console logging