Sleep to prevent segfault