Added logging capabilities

Added function to disable watchdog (future use)

Fixed timeout when not enough clients connected