async def cleanup_screenshot(file_path: str):
    """
    Cleanup function to remove the screenshot file after it's been sent.
    """
    try:
        await asyncio.sleep(1)  # Wait a bit to ensure the file has been sent
        if os.path.exists(file_path):
            os.remove(file_path)
    except Exception as e:
        print(f"Error cleaning up screenshot: {e}")

    Cleanup function to remove the screenshot file after it's been sent.
    
src/upsonic/server/others/server/server.py