Thakur: Shastri served India well as team director