update clousure test
timeout and callback example