fix timeout issues in worksheet

Fix for #164