Cleaned up prompt synchronization