setKeepCallback on the message event