add timeout in sample message