Run go to metadata asynchronously

Fix #768.