framework: add handler to deal with player crash issue.