LPS-49298 Dont print stack trace unless DEBUG is turned on

@jonathanmccann this is good but I discovered from Nate that the client can be asked to stop polling by the server when the poller handler has gone away. Can you implement this so that clients don't keep polling a server which can no longer provide responses? thanks