Alexandre Julliard : server: Make sure that last error doesn' t get set during thread cleanup.