fixes araqne/logpresso.com#32 immediate CometClient.close() and fixed unnecessary trap error logging