Oscar Piastri topped Free Practice 2 for the Singapore Grand Prix as the one-hour session was disrupted by two red flags.